package com.youku.plugins.menu
{
   import com.youku.interfaces.IPlugin;
   import com.youku.plugins.menu.view.ContextMenuMediator;
   import flash.display.MovieClip;
   import com.youku.interfaces.IPlayerProxy;
   
   public class ContextMenuFacade extends Object implements IPlugin
   {
      
      public function ContextMenuFacade() {
         super();
      }
      
      private static var _instance:ContextMenuFacade;
      
      public static function getInstance() : ContextMenuFacade {
         if(_instance == null)
         {
            _instance = new ContextMenuFacade();
         }
         return _instance as ContextMenuFacade;
      }
      
      private var _contextMenuMediator:ContextMenuMediator;
      
      private function registerSkin() : void {
      }
      
      public function init(param1:MovieClip, param2:IPlayerProxy) : void {
         this.registerSkin();
         this._contextMenuMediator = new ContextMenuMediator(param1,param2);
      }
   }
}
